/**
 * Copyright (c) 2009, http://www.softwareinlife.com. All rights reserved.
 * 
 * Redistribution and use in source and binary forms, 
 * with or without modification, are permitted provided that 
 * the following conditions are met:
 * 
 * 1. Redistributions of source code must retain the above copyright notice, 
 *    this list of conditions and the following disclaimer.
 * 
 * 2. Redistributions in binary form must reproduce the above copyright notice, 
 *    this list of conditions and the following disclaimer in the documentation 
 *    and/or other materials provided with the distribution.
 * 
 * 3. Neither the name of the http://www.softwareinlife.com nor the names of its 
 *    contributors may be used to endorse or promote products derived from 
 *    this software without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE SOFTWAREINLIFE AND CONTRIBUTORS "AS IS" 
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
 * ARE DISCLAIMED. 
 * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
package com.softwareinlife.vision.android.data.model;

import java.util.List;

import com.softwareinlife.vision.android.system.model.BaseModel;

/**
 * Value Model
 * 
 * @author Jang, Sun-Jin(jangsunjin@softwareinlife.com)
 * @date 2009. 10. 10.
 */
public class PlanModel extends BaseModel {

	/**
	 * Serial Version UID
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * Plan's Schedule
	 */
	protected List<ScheduleModel> schedules = null;

	/**
	 * Model of User
	 */
	protected UserModel user = null;

	/**
	 * Plan's Title
	 */
	protected String title = null;

	/**
	 * Plan's Description
	 */
	protected String desc = null;

	/**
	 * Plan's Vision
	 */
	protected VisionModel vision = null;

	/**
	 * Constructor
	 */
	public PlanModel() {
		super();
	}

	/**
	 * @param user
	 * @param title
	 * @param desc
	 * @param vision
	 * @param schedules
	 */
	public PlanModel(UserModel user, String title, String desc,
			VisionModel vision, List<ScheduleModel> schedules) {
		super();
		this.user = user;
		this.title = title;
		this.desc = desc;
		this.vision = vision;
		this.schedules = schedules;
	}

	/**
	 * @return the user
	 */
	public UserModel getUser() {
		return user;
	}

	/**
	 * @param user
	 *            the user to set
	 */
	public void setUser(UserModel user) {
		this.user = user;
	}

	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title
	 *            the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return the desc
	 */
	public String getDesc() {
		return desc;
	}

	/**
	 * @param desc
	 *            the desc to set
	 */
	public void setDesc(String desc) {
		this.desc = desc;
	}

	/**
	 * @return the vision
	 */
	public VisionModel getVision() {
		return vision;
	}

	/**
	 * @param vision
	 *            the vision to set
	 */
	public void setVision(VisionModel vision) {
		this.vision = vision;
	}

	/**
	 * @return the schedules
	 */
	public List<ScheduleModel> getSchedules() {
		return schedules;
	}

	/**
	 * @param schedules
	 *            the schedules to set
	 */
	public void setSchedules(List<ScheduleModel> schedules) {
		this.schedules = schedules;
	}
}
